package sogo.myi.micro.feign.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "SERVICE-HELLOWORLD")
public interface HelloWorldService {
	
	@RequestMapping(value = "/helloworld", method = RequestMethod.GET)
	String sayHello();
	
//	@RequestMapping(value = "/group/{groupId}", method = RequestMethod.GET)
//	void update(@PathVariable("groupId") Integer groupId, @RequestParam("groupName") String groupName, Object obj);
}
